const path = require('path')
const fs = require('fs')
const file = fs.readFileSync(path.join(__dirname, './dist/AppManifest.json'))
const config = JSON.parse(file.toString())
config.versionCode += 1
const str = JSON.stringify(config)
fs.writeFileSync(path.join(__dirname, './public/AppManifest.json'), str)
fs.writeFileSync(path.join(__dirname, './dist/AppManifest.json'), str)
